package com.lm.paymentadmin.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.cursor.Cursor;

import java.util.List;
import java.util.Map;

/**
 * @author 11630
 */
@Mapper
public interface SubMapper {

    /**
     * 流式查询
     * @return
     */
    @Select("select * from t_sub_info")
    Cursor<Map<String,Object>> subList();

}
